<html>
<head><meta charset="utf-8"><title>Diagnosing a segfault caused by target-feature · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Diagnosing.20a.20segfault.20caused.20by.20target-feature.html">Diagnosing a segfault caused by target-feature</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="221995117"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Diagnosing%20a%20segfault%20caused%20by%20target-feature/near/221995117" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Addison Crump <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Diagnosing.20a.20segfault.20caused.20by.20target-feature.html#221995117">(Jan 07 2021 at 20:19)</a>:</h4>
<p>Relevant issue: <a href="https://github.com/rust-lang/rust/issues/80735">https://github.com/rust-lang/rust/issues/80735</a></p>
<p>Not quite sure how to diagnose this more specifically. I know it's a Rust problem, not an emulator problem, because where it fails is consistent, but other than that, I'm really not sure. Appears to call abort (from abort.c).</p>



<a name="222013715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Diagnosing%20a%20segfault%20caused%20by%20target-feature/near/222013715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Addison Crump <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Diagnosing.20a.20segfault.20caused.20by.20target-feature.html#222013715">(Jan 07 2021 at 22:56)</a>:</h4>
<p>Looks like crt-static for riscv64 doesn't use crt1.o...?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>